﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MINERP.Monitor
{
    public partial class UCCustomer : UserControl
    {

        public UCCustomer()
        {
            InitializeComponent();
        }

        public int TechId { get; set; }


        [Bindable(true), Category("TechName"), DefaultValue(""), Description("岗位名称")]
        public string TechName
        {
            set { groupControl1.Text = value; }
            get { return groupControl1.Text; }
        }

        public void BindData(string orderproductNum, string orderProductArea, string orderproductNumPriority, string orderProductAreaPriority)
        {
            lbOrderProductNum.Text = orderproductNum;
            lbOrderProductNumPriority.Text = orderproductNumPriority;
            lbOrderProductArea.Text = orderProductArea;
            lbOrderProductAreaPriority.Text = orderProductAreaPriority;
        }

        private void lkbCustomer_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FrmMain frm = (FrmMain)this.FindForm();
            frm.clikEventHander.Invoke(sender, e);
        }
    }
}
